//
//  TrialModel.m
//  LoveTrail
//
//  Created by giantumbrella on 15/6/10.
//  Copyright (c) 2015年 赵娟. All rights reserved.
//

#import "TrialModel.h"

@implementation TrialModel

-(void)decodedic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"shopName"] isKindOfClass:[NSNull class]]) {
            self.shopName=[dic objectForKey:@"shopName"];
        }
        if (![[dic objectForKey:@"shopImg"] isKindOfClass:[NSNull class]]) {
            self.shopImg=[dic objectForKey:@"shopImg"];
        }
        if (![[dic objectForKey:@"activityImg"] isKindOfClass:[NSNull class]]) {
            self.activityImg=[dic objectForKey:@"activityImg"];
        }
        if (![[dic objectForKey:@"enterNum"] isKindOfClass:[NSNull class]]) {
            self.enterNum=[dic objectForKey:@"enterNum"];
        }
        if (![[dic objectForKey:@"lessNum"] isKindOfClass:[NSNull class]]) {
            self.lessNum=[dic objectForKey:@"lessNum"];
        }
        if (![[dic objectForKey:@"activityName"] isKindOfClass:[NSNull class]]) {
            self.activityName=[dic objectForKey:@"activityName"];
        }
        if (![[dic objectForKey:@"oldPrice"] isKindOfClass:[NSNull class]]) {
            self.oldPrice=[dic objectForKey:@"oldPrice"];
        }

    }

}

@end
